<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script type="text/javascript" src="../shiro/manager/jquery-1.10.2.min.js"></script>
<title>Insert title here</title>
</head>
<body>
	<button>退出1</button>
	<button>退出2</button>
	<button>退出3</button>
	<button>退出4</button>
<script type="text/javascript">
var button = $("button:lt(1),button:eq(1)"); // 下标小于等于1的元素，下标从0开始
button.css("background-color", "gray");

var button = $("button:eq(3)"); // 下标等于3的元素
button.css("background-color", "pink");
</script>
</body>
</html>


